/*
* Copyrigth 2008 Company All rigths reserved
* File Name: TS_Question_Entity.cs
* Created By:    Wenbin.Xu
* Created Date:   2013/7/8 16:28:32
* Description:    TS_Question的实体类
* Change History: 
* 
* */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WisDragon.Framework.EntityAttribute;

namespace TrainingsApp.Model
{
	/// <summary>
	/// 表示TS_Question的类型
	/// </summary>
	public class TS_Question_Entity
	{
		/// <summary>
		/// 问题表主键
		/// </summary>
        [DataMapping("QuestionId", System.Data.DbType.Guid)]
		public System.Guid? QuestionId { get; set; }

		/// <summary>
		/// 章节表主键
		/// </summary>
        [DataMapping("ChapterId", System.Data.DbType.Int64)]
		public System.Int64? ChapterId { get; set; }

		/// <summary>
		/// 学科表主键
		/// </summary>
        [DataMapping("CourseId", System.Data.DbType.Int32)]
		public System.Int32? CourseId { get; set; }

		/// <summary>
		/// 教材表主键
		/// </summary>
        [DataMapping("MaterialsId", System.Data.DbType.Int64)]
		public System.Int64? MaterialsId { get; set; }

		/// <summary>
		/// 问题内容
		/// </summary>
        [DataMapping("Question", System.Data.DbType.String)]
		public System.String Question { get; set; }

		/// <summary>
		/// 问题类型:选择,描述,多选,单选
		/// </summary>
        [DataMapping("QuestionType", System.Data.DbType.Byte)]
		public System.Byte? QuestionType { get; set; }

		/// <summary>
		/// 选择列表
		/// </summary>
        [DataMapping("ResultOptions", System.Data.DbType.String)]
		public System.String ResultOptions { get; set; }

	}
}